package com.wm.person;

public class SE extends Employee{
    private String hobby;
    private String level;

    public SE() {
    }

    public SE(String name, String address, String telphone,
              String email, String office, double salary,
              String hiredate, String hobby, String level) {
        super(name, address, telphone, email, office, salary, hiredate);
        this.hobby = hobby;
        this.level = level;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }
    public void show(){
        System.out.println("姓名:" + super.getName());
        System.out.println("地址:" + super.getAddress());
        System.out.println("电话号码:" + super.getTelphone());
        System.out.println("电子邮件:" + super.getEmail());
        System.out.println("办公室:" + super.getOffice());
        System.out.println("工资:" + super.getSalary());
        System.out.println("受雇日期:" + super.getHiredate());
        System.out.println("爱好:" + this.getHobby());
        System.out.println("级别:" + this.getLevel());
    }
}
